<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src 'self'; script-src 'self';"
    />
    <meta
      http-equiv="X-Content-Security-Policy"
      content="default-src 'self'; script-src 'self'"
    />
    <title>06-进程通信</title>
    <link rel="stylesheet" href="./index.css">
  </head>
  <body>
    <h2>渲染进程和主进程通信</h2>
    <button>渲到主异步操作</button>
    <hr />
    <button>渲到主同步操作</button>
    <script src="./index.js"></script>
  </body>
</html>